package cn.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyong
 * @since 2019-12-04
 */
@TableName("game_tag_log")
public class GameTagLog extends Model<GameTagLog> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户标签
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 房间号
     */
    @TableField("room_id")
    private Integer roomId;
    /**
     * 标签id
     */
    @TableField("tag_id")
    private Integer tagId;
    /**
     * 点赞人id
     */
    @TableField("user_id")
    private Integer userId;
    /**
     * 目标id
     */
    @TableField("target_id")
    private Integer targetId;
    @TableField("create_time")
    private Date createTime;
    /**
     * 游戏类型
     */
    @TableField("game_type")
    private Integer gameType;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getTagId() {
        return tagId;
    }

    public void setTagId(Integer tagId) {
        this.tagId = tagId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getGameType() {
        return gameType;
    }

    public void setGameType(Integer gameType) {
        this.gameType = gameType;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "GameTagLog{" +
        ", id=" + id +
        ", roomId=" + roomId +
        ", tagId=" + tagId +
        ", userId=" + userId +
        ", targetId=" + targetId +
        ", createTime=" + createTime +
        ", gameType=" + gameType +
        "}";
    }
}
